{config_load file=global.conf}
{config_load file="flashchart.conf" section="`$lang`"}
<script type="text/javascript" language="JavaScript" src="{#flash_dir#}/Scripts/AC_RunActiveContent.js"></script>




{literal}
<style type="text/css">
        a.ainactive {
            color: #000;
            text-decoration: none;
            font-weight: bold;
        }

        </style>
{/literal}


    <p>
    <a {if !$smarty.get.trade || $smarty.get.trade=="103"}class="ainactive"{/if} href="index.php?p=flash&trade=103&label=EUR/USD">EUR/USD</a> |
    <a {if $smarty.get.trade=="203"}class="ainactive"{/if} href="index.php?p=flash&trade=203&label=GBP/USD">GBP/USD</a> |
    <a {if $smarty.get.trade=="304"}class="ainactive"{/if} href="index.php?p=flash&trade=304&label=USD/CHF">USD/CHF</a> |
    <a {if $smarty.get.trade=="306"}class="ainactive"{/if} href="index.php?p=flash&trade=306&label=USD/CAD">USD/CAD</a> |
    <a {if $smarty.get.trade=="503"}class="ainactive"{/if} href="index.php?p=flash&trade=503&label=AUD/USD">AUD/USD</a></p>

    {php}

    if (!$_GET['trade']) $trade = 103;
    else $trade = $_GET['trade'];

    if (!$_GET['label']) $label = "EUR/USD";
    else $label = $_GET['label'];


    $this->assign('addays',1);
    $this->assign('trade',$trade);
    $this->assign('label',$label);
    $this->assign('paramauto',7);
    {/php}


     <script type="text/javascript">
function InsertFlash()
{literal}{{/literal}
flashHTML = AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','750','height','550','src','http://intelli4x.com/flash/fla/svecha12?url=http://intelli4x.com/flash/fla/XML/main.xml&valPara={$label}&auto=10&valCode={$trade}&addDays={$addays}&ParamAuto={$paramauto}','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','bgcolor','#FFFFFF','movie','http://intelli4x.com/flash/fla/svecha12?url=http://intelli4x.com/flash/fla/XML/main.xml&valPara={$label}&auto=10&valCode={$trade}&addDays={$addays}&ParamAuto={$paramauto}' ); //end AC code
return flashHTML;
{literal}}{/literal}

function runInsertFlash()
{literal}{{/literal}	document.getElementById("flashContainer").innerHTML = InsertFlash();
{literal}}{/literal}


</script>


 <div style="position: relative; right: 48px; ">
 <table cellpadding="0" cellspacing="0"><tr><td>
 <div id="flashContainer"></div>

    <script type="text/javascript">
//InsertFlash();
//setInterval("InsertFlash();", 20000);

//setInterval("document.getElementById('flashContainer').innerHTML = InsertFlash();", 15000);

runInsertFlash();
//setInterval("runInsertFlash();", 300000);
</script>

        <noscript>
          <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="750" height="600">
          <param name="movie" value="http://intelli4x.com/flash/fla/svecha12.swf?url=http://intelli4x.com/flash/fla/XML/main.xml&valPara={$label}&auto=10&valCode={$trade}&addDays={$addays}&ParamAuto={$paramauto}">
          <param name="quality" value="high"><param name="BGCOLOR" value="#FFFFFF">
          <embed src="http://intelli4x.com/flash/fla/svecha12.swf?url=http://intelli4x.com/flash/fla/XML/main.xml&valPara={$label}&auto=10&valCode={$trade}&addDays={$addays}&ParamAuto={$paramauto}" width="750" height="550" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#FFFFFF"></embed>
        </object>
        </noscript>


        </td></tr>
		</table>
 <div style="margin-left: 50px; padding: 10px; background-color: #feffe4; width: 635px;">
			<div style="font-weight: bold; margin-bottom: 8px">{#flashchart__msgTips#}</div>
			<span style="font-size: 12px;">
			- {#flashchart__msgTip1#}<br>
			- {#flashchart__msgTip2#}<br>
			- {#flashchart__msgTip3#}
			</span>
</div>
</div>

<script type="text/javascript">
//setInterval("window.location.reload()", 43200000); //reload flash if wasn't reloaded for 12 hours
</script>
<hr><br>